From e0c4b2f2dace07f6ae523ec64ef08b38cb48422a Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Sun, 7 Dec 2025 17:19:24 +0100 Subject: [PATCH] do-not-install-python-scripts Gbp-Pq: Name do-not-install-python-scripts.patch --- bin/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt index f79c0a3..7017f49 100644 --- a/bin/CMakeLists.txt +++ b/bin/CMakeLists.txt @@ -9,3 +9,10 @@ install(PROGRAMS dunepackaging.py dune-git-whitespace-hook DESTINATION ${CMAKE_INSTALL_BINDIR}) + +# install these scripts only if Python bindings are enabled +if(DUNE_ENABLE_PYTHONBINDINGS) + install(PROGRAMS + dunepackaging.py + DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() -- 2.30.2